package sqlhelper

import "chatgpt/helper/code"

type ReqCommon struct {
}

type ResCommon struct {
	MsgCode code.CODENO
	Data    any
	Desc    string
}

// cache
type ReqCacheBat struct {
	Cmds []*CacheCmd
}

type ReqCache struct {
	Cmd *CacheCmd
}

type ResCache struct {
	MsgCode code.CODENO
	Data    any
	Desc    string
}

type CacheCmd struct {
	Key    string
	Rcmd   string
	Value  any
	Expire int64
}
